import request from '@/utils/request'

let TranslateApi = {
    lists(data, errorback) {
        return request._post('/sys/translate/lists', data, errorback);
    },
    add(data, errorback) {
        return request._post('/sys/translate/add', data, errorback);
    },
    update(data, errorback) {
        return request._post('/sys/translate/update', data, errorback);
    },
    setDefault(data, errorback) {
        return request._post('/sys/translate/setDefault', data, errorback);
    },
    delete(data, errorback) {
        return request._post('/sys/translate/delete', data, errorback);
    },
}
export default TranslateApi;